*{
    padding: 0;
    margin: 0;
}
html,
body{
    position: relative;
    top: 0;
    left: 0;
    margin: 0;
    padding: 0%;
    height: 100%;
    width: 100%;
    background: url('../images/book.jpg') no-repeat center;
    background-size:cover;
}
/* 登录表单的样式 */
.loginAndRegBox{
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%,-50%);
    height: 310px;
    width: 400px;
    background-color: #fff;
}
/* 头部区域 */
.title-box{
    height: 60px;
    background: url('../images/login_title.png') no-repeat center;

}
/* 注册窗口 */
.reg-box{
    display: none;
}
.layui-form{
    padding: 0 30px;
}
/* 去注册 */
.links{
    display: flex;
    justify-content: flex-end;
}
.links a{
    font-size: 12px;
}
/* 文本区域 */
.layui-form-item{
    position: relative;
    
}
/* 字体图标 */
.layui-icon{
    position: absolute;
    left: 10px;
    top: 10px;
}
/* input */
.layui-input{
    padding-left: 30px;
}